We detect stack overflow by monitoring the previous frame pointer . such comes the tool fpw ( frame pointer watcher ) 作者提出利用前幀指針檢測堆棧溢出的方法即fpw ( framepointerwatcher ) 。
It uses different zones named usu - prefrm zone and jmp - prefrm zone to record changing of the previous frame pointer in stack . compared with stack guard and rad , fpw has more efficent performance , same safety and less memory cost 與stackguard和rad相比, fpw具有同樣程度的安全性、占用更少的內(nèi)存空間、減少進程意外終止的可能性和更好的運行效果等優(yōu)點。